package com.ruoyi.animalManagement.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 检疫纪录对象 lmis_qua_record
 * 
 * @author wj
 * @date 2025-08-18
 */
public class LmisQuaRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 检疫纪录编码 */
    private Long quaRecordId;

    /** 检疫项目编码 */
    private Long quaItemId;

    /** 动物编码 */
    @Excel(name = "动物编码")
    private Long animalId;

    /** 检疫类型 */
    @Excel(name = "检疫类型")
    private String quaType;

    /** 检疫时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "检疫时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date quaTime;

    /** 检疫人员 */
    @Excel(name = "检疫人员")
    private Long userName;

    /** 检疫结果 */
    @Excel(name = "检疫结果")
    private Long overallResult;

    /** 处理方式 */
    @Excel(name = "处理方式")
    private Long handleMethod;

    /** 笼位位置 */
    @Excel(name = "笼位位置")
    private String position;

    /** 检疫报告 */
    @Excel(name = "检疫报告")
    private String attachment;

    /** 检疫流程状态 */
    @Excel(name = "检疫流程状态")
    private String recordStatus;

    /** 是否删除 */
    private String delFlag;

    public void setQuaRecordId(Long quaRecordId) 
    {
        this.quaRecordId = quaRecordId;
    }

    public Long getQuaRecordId() 
    {
        return quaRecordId;
    }
    public void setQuaItemId(Long quaItemId) 
    {
        this.quaItemId = quaItemId;
    }

    public Long getQuaItemId() 
    {
        return quaItemId;
    }
    public void setAnimalId(Long animalId) 
    {
        this.animalId = animalId;
    }

    public Long getAnimalId() 
    {
        return animalId;
    }
    public void setQuaType(String quaType) 
    {
        this.quaType = quaType;
    }

    public String getQuaType() 
    {
        return quaType;
    }
    public void setQuaTime(Date quaTime) 
    {
        this.quaTime = quaTime;
    }

    public Date getQuaTime() 
    {
        return quaTime;
    }
    public void setUserName(Long userName) 
    {
        this.userName = userName;
    }

    public Long getUserName() 
    {
        return userName;
    }
    public void setOverallResult(Long overallResult) 
    {
        this.overallResult = overallResult;
    }

    public Long getOverallResult() 
    {
        return overallResult;
    }
    public void setHandleMethod(Long handleMethod) 
    {
        this.handleMethod = handleMethod;
    }

    public Long getHandleMethod() 
    {
        return handleMethod;
    }
    public void setPosition(String position) 
    {
        this.position = position;
    }

    public String getPosition() 
    {
        return position;
    }
    public void setAttachment(String attachment) 
    {
        this.attachment = attachment;
    }

    public String getAttachment() 
    {
        return attachment;
    }
    public void setRecordStatus(String recordStatus) 
    {
        this.recordStatus = recordStatus;
    }

    public String getRecordStatus() 
    {
        return recordStatus;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("quaRecordId", getQuaRecordId())
            .append("quaItemId", getQuaItemId())
            .append("animalId", getAnimalId())
            .append("quaType", getQuaType())
            .append("quaTime", getQuaTime())
            .append("userName", getUserName())
            .append("overallResult", getOverallResult())
            .append("handleMethod", getHandleMethod())
            .append("position", getPosition())
            .append("attachment", getAttachment())
            .append("recordStatus", getRecordStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
